WPTelegram\Core\modules\p2tg\Admin A

Total Complexity 69
Dependencies 9
Dependents 2
Total lines 698
Lines of code 401
Logical lines of code 155
Comment lines 179
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
send2tg_default()
A
51 10 24
create_cmb2_override_metabox()
S
37 2 92
get_field_default()
S
61 7 13
get_macros()
S
40 3 72
update_inline_script_data()
S
49 5 31
get_saved_options()
S
56 5 17
enqueue_admin_scripts()
S
61 5 13
add_instant_post_action()
S
52 4 25
handle_instant_post()
S
58 4 14
add_post_edit_switch()
S
60 3 15
get_post_type_options()
S
60 3 13
enqueue_block_editor_assets()
S
64 3 11
render_post_edit_switch()
S
59 2 15
may_be_remove_override_metabox()
S
70 2 6
show_post_edit_switch()
S
66 2 8
hook_into_rest_pre_insert()
S
69 2 6
post_edit_form_hidden_input()
S
77 1 3
block_editor_hidden_fields()
S
79 1 3
escape_message_template()
S
76 1 4
override_opt_default_cb()
S
74 1 4
register_rest_routes()
S
77 1 4
do_rest_pre_insert_action()
S
76 1 4
get_override_meta_box_screens()
S
74 1 4